﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MAgentAddressList.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MarketModel.MAgentAddressList" %>

<form id="pagerForm" method="post" action="MarketModel/MAgentAddressList.aspx">
<input type="hidden" name="CardCode" value="<%=CardCode %>" />
</form>
<form id="form1" runat="server" method="post" action="MarketModel/MAgentAddressList.aspx" onsubmit="return dialogSearch(this);">

<div class="pageContent">

    <div layoutH="0" style="float:left; display:block; overflow:auto; width:450px;  border-width:0px 1px 1px 0px; border-style:solid; border-color:#CCC;  " class="unitBox">
    <div class="panelBar" style="border-width:0px 0px 0px 0px!important;">
        <ul class="toolBar">
             <li><a class="add" href="MarketModel/MAgentAddressAdd.aspx?cardcode=<%=CardCode %>" defautloadajax="true" target="ajax" rel="jbsxBox"  title="新增地址"><span>新增地址</span></a></li>
           
             <li><a class="delete" href="sysAjaxDone.ashx?ajaxmethod=DeleteMAgentAddress&MAAID={sid_user}&CardCode=<%=CardCode %>" target="ajaxTodo" title="确定要删除吗?" ><span>删除</span></a></li>
        </ul>
    </div>

    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" layouth="60" targetType="dialog">
        <thead>
            <tr  >
                <th width="120">
                    全称
                </th>                
                <th width="100">
                    简称
                </th> 
                <th width="70" >
                    地址
                </th> 
                <th width="60" orderField="BuyDate" class="asc">
                    联系人
                </th>       
                <th >
                    电话
                </th>
                
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("MAAID") %>">
				<td><a href="MarketModel/MAgentAddressEdit.aspx?MAAID=<%# Eval("MAAID") %>" target="ajax" rel="jbsxBox"> <%# Eval("CardName")%> </a></td>
                <td><a href="MarketModel/MAgentAddressEdit.aspx?MAAID=<%# Eval("MAAID") %>" target="ajax" rel="jbsxBox"><%# Eval("AliasName")%> </a></td>
				<td><a href="MarketModel/MAgentAddressEdit.aspx?MAAID=<%# Eval("MAAID") %>" target="ajax" rel="jbsxBox"><%# Eval("Address")%> </a></td>
				<td><a href="MarketModel/MAgentAddressEdit.aspx?MAAID=<%# Eval("MAAID") %>" target="ajax" rel="jbsxBox"><%# Eval("LinkeName")%> </a></td>
                <td><a href="MarketModel/MAgentAddressEdit.aspx?MAAID=<%# Eval("MAAID") %>" target="ajax" rel="jbsxBox"><%# Eval("Tel1")%> </a></td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>

    </div>
    <div id="jbsxBox" class="unitBox" style="margin-left:455px; border-width:0px 0px 0px 1px; border-style:solid; border-color:#CCC; "  layoutH="0"  >
		

	</div>
</div>
</form>
